﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataAccess;
using System.Data;
using System.Data.SqlClient;
namespace BUS
{
    public class QLDiemTrenLop
    {
        public static DataTable xemdiem(string mamonhoc)
        {
            return DataAccess.QLDiemTrenLop.xemdiem(mamonhoc);
        }
        public static string update(string mamonhoc, string masv, string hocky, float diem1, float diem2, float diem3, float diem4, float diem5, float diemgiuahocphan, float diemchuyencan, float diemtrungbinh, float sotietnghi, string dieukienthi)
        {
            return DataAccess.QLDiemTrenLop.update(mamonhoc,masv,hocky,diem1, diem2, diem3, diem4,diem5,diemgiuahocphan, diemchuyencan, diemtrungbinh, sotietnghi, dieukienthi);
        }
        public static DataTable HienThiTen(string magiangvien)
        {
            return DataAccess.QLDiemTrenLop.HienThiTen(magiangvien);
        }
        public static string LayMaMonHoc(string tenmonhoc)
        {
            return DataAccess.QLDiemTrenLop.LayMaMonHoc(tenmonhoc);
        }
        public static int SoTrinh(string mamonhoc)
        {
            return DataAccess.QLDiemTrenLop.SoTrinh(mamonhoc);
        }
    }
}
